﻿package Message.Game
{
    import Engine.RMI.*;
    import Framework.Serialize.*;
    import Message.Public.*;
    import flash.utils.*;

    public class IPetPrxHelper extends RMIProxyObject implements IPetPrx
    {
        public static const NAME:String = "Message.Game.IPet";

        public function IPetPrxHelper()
        {
            name = "IPet";
            return;
        }// end function

        public function addLifespan_async(param1:AMI_IPet_addLifespan, param2:String, param3:Array) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("addLifespan");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            SeqStringHelper.write(_loc_6, param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function advance_async(param1:AMI_IPet_advance, param2:Boolean, param3:Dictionary) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("advance");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeBool(param2);
            DictStrIntHelper.write(_loc_6, param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function buyBreakHP_async(param1:AMI_IPet_buyBreakHP) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("buyBreakHP");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function calAttribute_async(param1:AMI_IPet_calAttribute, param2:String, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("calAttribute");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function changePetCareer_async(param1:AMI_IPet_changePetCareer, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("changePetCareer");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function changeShape_async(param1:AMI_IPet_changeShape, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("changeShape");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function changeShapeCard_async(param1:AMI_IPet_changeShapeCard) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("changeShapeCard");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function compoundTotemEquip_async(param1:AMI_IPet_compoundTotemEquip, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("compoundTotemEquip");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function dress_async(param1:AMI_IPet_dress, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("dress");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function dressTotemEquip_async(param1:AMI_IPet_dressTotemEquip, param2:String, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("dressTotemEquip");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function getAdvanceReward_async(param1:AMI_IPet_getAdvanceReward, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getAdvanceReward");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getBlood_async(param1:AMI_IPet_getBlood) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getBlood");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getPetBreakInfo_async(param1:AMI_IPet_getPetBreakInfo, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getPetBreakInfo");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getPetInfo_async(param1:AMI_IPet_getPetInfo, param2:int, param3:Array) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("getPetInfo");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            SeqStringHelper.write(_loc_6, param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function getPetSharpCard_async(param1:AMI_IPet_getPetSharpCard, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getPetSharpCard");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function getPlayerPetInfo_async(param1:AMI_IPet_getPlayerPetInfo) : void
        {
            var _loc_2:* = makeContext(session);
            var _loc_3:* = makeCall("getPlayerPetInfo");
            var _loc_4:* = new SerializeStream();
            Outgoing.invokeAsync(_loc_2, _loc_3, _loc_4, param1);
            return;
        }// end function

        public function getRandPetSkill_async(param1:AMI_IPet_getRandPetSkill, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("getRandPetSkill");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function getTotemInfo_async(param1:AMI_IPet_getTotemInfo, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("getTotemInfo");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function initPetSkillRand_async(param1:AMI_IPet_initPetSkillRand, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("initPetSkillRand");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function learnSkill_async(param1:AMI_IPet_learnSkill, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("learnSkill");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function learnSkillDirect_async(param1:AMI_IPet_learnSkillDirect, param2:String) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("learnSkillDirect");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeString(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function petMerge_async(param1:AMI_IPet_petMerge, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("petMerge");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function petMergePreview_async(param1:AMI_IPet_petMergePreview, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("petMergePreview");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function petSharpCardUp_async(param1:AMI_IPet_petSharpCardUp, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("petSharpCardUp");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function petSharpIllusion_async(param1:AMI_IPet_petSharpIllusion, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("petSharpIllusion");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function randPetSkill_async(param1:AMI_IPet_randPetSkill, param2:String, param3:int, param4:Boolean, param5:Boolean) : void
        {
            var _loc_6:* = makeContext(session);
            var _loc_7:* = makeCall("randPetSkill");
            var _loc_8:* = new SerializeStream();
            _loc_8.writeString(param2);
            _loc_8.writeInt(param3);
            _loc_8.writeBool(param4);
            _loc_8.writeBool(param5);
            Outgoing.invokeAsync(_loc_6, _loc_7, _loc_8, param1);
            return;
        }// end function

        public function refreshGrowth_async(param1:AMI_IPet_refreshGrowth, param2:String, param3:Boolean, param4:Dictionary) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("refreshGrowth");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            _loc_7.writeBool(param3);
            DictStrIntHelper.write(_loc_7, param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function removePetWarehouseSkill_async(param1:AMI_IPet_removePetWarehouseSkill, param2:int) : void
        {
            var _loc_3:* = makeContext(session);
            var _loc_4:* = makeCall("removePetWarehouseSkill");
            var _loc_5:* = new SerializeStream();
            _loc_5.writeInt(param2);
            Outgoing.invokeAsync(_loc_3, _loc_4, _loc_5, param1);
            return;
        }// end function

        public function sealPetSkill_async(param1:AMI_IPet_sealPetSkill, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("sealPetSkill");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function setName_async(param1:AMI_IPet_setName, param2:String, param3:String) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("setName");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeString(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function setPetMode_async(param1:AMI_IPet_setPetMode, param2:String, param3:EPetMode) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("setPetMode");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            param3.__write(_loc_6);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function setPetState_async(param1:AMI_IPet_setPetState, param2:String, param3:EPetState) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("setPetState");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            param3.__write(_loc_6);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function sweepBreak_async(param1:AMI_IPet_sweepBreak, param2:int, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("sweepBreak");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeInt(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

        public function unsealPetSkill_async(param1:AMI_IPet_unsealPetSkill, param2:String, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("unsealPetSkill");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function updateSkillPos_async(param1:AMI_IPet_updateSkillPos, param2:String, param3:int, param4:int) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("updateSkillPos");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            _loc_7.writeInt(param3);
            _loc_7.writeInt(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function upgradeBlood_async(param1:AMI_IPet_upgradeBlood, param2:String, param3:int, param4:int, param5:Boolean) : void
        {
            var _loc_6:* = makeContext(session);
            var _loc_7:* = makeCall("upgradeBlood");
            var _loc_8:* = new SerializeStream();
            _loc_8.writeString(param2);
            _loc_8.writeInt(param3);
            _loc_8.writeInt(param4);
            _loc_8.writeBool(param5);
            Outgoing.invokeAsync(_loc_6, _loc_7, _loc_8, param1);
            return;
        }// end function

        public function upgradeTalent_async(param1:AMI_IPet_upgradeTalent, param2:String, param3:Dictionary, param4:Boolean) : void
        {
            var _loc_5:* = makeContext(session);
            var _loc_6:* = makeCall("upgradeTalent");
            var _loc_7:* = new SerializeStream();
            _loc_7.writeString(param2);
            DictStrIntHelper.write(_loc_7, param3);
            _loc_7.writeBool(param4);
            Outgoing.invokeAsync(_loc_5, _loc_6, _loc_7, param1);
            return;
        }// end function

        public function upgradeTotem_async(param1:AMI_IPet_upgradeTotem, param2:String, param3:int) : void
        {
            var _loc_4:* = makeContext(session);
            var _loc_5:* = makeCall("upgradeTotem");
            var _loc_6:* = new SerializeStream();
            _loc_6.writeString(param2);
            _loc_6.writeInt(param3);
            Outgoing.invokeAsync(_loc_4, _loc_5, _loc_6, param1);
            return;
        }// end function

    }
}
